﻿<elysium:Window x:Class="PresentationAid.Dialog.Message" 
                WindowStyle="ToolWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:elysium="http://schemas.codeplex.com/elysium"
                xmlns:params="http://schemas.codeplex.com/elysium/params" 
                params:Manager.Theme="Light"
                params:Manager.AccentBrush="{x:Static elysium:AccentBrushes.Blue}"
                params:Manager.ContrastBrush="White"
                Background="{DynamicResource BackgroundBrush}"
                Title="" Topmost="True" ShowInTaskbar="False" Width="500" SizeToContent="Height" WindowStartupLocation="CenterOwner" ResizeMode="NoResize" KeyUp="WindowKeyUp">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        
        <!-- First row represents the navigation and border
        <Border Name="Border" BorderThickness="0,0,0,2" BorderBrush="{DynamicResource HighlightBrush}" Margin="5,0,0,5" Width="90" HorizontalAlignment="Left" />
        -->
        <Grid Grid.Row="1" Margin="20,10,20,20">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>

            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>

            <Image Name="MessageBoxIcon" VerticalAlignment="Top" Source="/PresentationAid;component/Resources/Images/Icons/error_32.png" Width="32" Grid.RowSpan="2" Margin="10" />

            <TextBlock Name="MessageBoxCaption" Grid.Column="1" FontSize="20" HorizontalAlignment="Left" FontWeight="Bold" TextWrapping="Wrap" Foreground="{DynamicResource LowlightBrush}">MessageBox Title</TextBlock>

            <TextBlock Name="MessageBoxText" Grid.Column="1" Grid.Row="1" Margin="0,10,0,0" HorizontalAlignment="Left" TextWrapping="Wrap" FontSize="16" FontWeight="Light" Foreground="{DynamicResource MiddleLightBrush}">MessageBox description.</TextBlock>
            
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.ColumnSpan="2" Grid.Row="2">
                <Button Name="Button1" Content="YES" Margin="5" Click="Button1Click" />
                <Button Name="Button2" Content="NO" Margin="5" Click="Button2Click" />
                <Button Name="Button3" Content="CANCEL" Margin="5" Click="Button3Click" />
            </StackPanel>
        </Grid>
    </Grid>
</elysium:Window>